package com.ljf.daily.makemoneysoftware.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.model.BasisModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 账户调整软件定义对象  daily_dat_account_adjust_software
 *
 * @author LJF
 * @since 2024-11-25
 */
@Data
@ApiModel("账户调整软件定义")
@EqualsAndHashCode(callSuper = true)
@TableName("daily_dat_account_adjust_software")
public class DailyDatAccountAdjustSoftware extends BasisModel {

	private static final long serialVersionUID = 1L;

	/**
	 * Java类型: Long
	 * 数据库类型: bigint
	 * 注释: ID
	 * {@link DailyDatAccountAdjustSoftware#COL_ID}
	 */
	@TableId(value="id", type= IdType.AUTO)
	@JsonProperty("id")
	@ApiModelProperty(value = "ID")
	private Long id;

	/**
	 * Java类型: String
	 * 数据库类型: char(6)
	 * 注释: 账户编码
	 * {@link DailyDatAccountAdjustSoftware#COL_ACCOUNT_CODE}
	 */
	@TableField("account_code")
	@JsonProperty("accountCode")
	@ApiModelProperty(value = "账户编码")
	private String accountCode;

	/**
	 * Java类型: String
	 * 数据库类型: char(12)
	 * 注释: 软件编码
	 * {@link DailyDatAccountAdjustSoftware#COL_SOFTWARE_CODE}
	 */
	@TableField("software_code")
	@JsonProperty("softwareCode")
	@ApiModelProperty(value = "软件编码")
	private String softwareCode;

	/**
	 * Java类型: Integer
	 * 数据库类型: tinyint
	 * 注释: 类型(1:入账;2:出账)
	 * {@link DailyDatAccountAdjustSoftware#COL_TYPE}
	 */
	@TableField("type")
	@JsonProperty("type")
	@ApiModelProperty(value = "类型(1:入账;2:出账)")
	private Integer type;


	/**
	 * ID
	 * {@link DailyDatAccountAdjustSoftware#id}
	 */
	public static final String COL_ID = "id";
	/**
	 * 账户编码
	 * {@link DailyDatAccountAdjustSoftware#accountCode}
	 */
	public static final String COL_ACCOUNT_CODE = "account_code";
	/**
	 * 软件编码
	 * {@link DailyDatAccountAdjustSoftware#softwareCode}
	 */
	public static final String COL_SOFTWARE_CODE = "software_code";
	/**
	 * 类型(1:入账;2:出账)
	 * {@link DailyDatAccountAdjustSoftware#type}
	 */
	public static final String COL_TYPE = "type";

}
